package Classroom.A0510.superPra;

//父类
public class Peo {
    public int age;
    protected String sex;
    String name;
    private String school;

    public Peo(){
        System.out.println("peo父类的构造");
    }

    public Peo(String name){
        this.name = name;
    }


    void eat() {
        System.out.println(name + "该去吃饭了");
    }


}
